<?php include('head_view.php'); ?>


<div>
   <?php if(isset($erro) == TRUE){?>
    <img src="<?php echo base_url(); ?>img/tarantino.jpg" alt="Cadastro com Sucesso!" >
   <?php }else{ ?>
    <img src="<?php echo base_url(); ?>img/ckt_lh-cep.jpg" alt="Cadastro com Sucesso!" style="text-align: center;" >
   <?php } ?>        
</div>


<div>
     <h1 style="text-align: center;"><?php echo $heading; ?></h1>
     <p style="text-align: justify;"><?php if(isset($mensagem)){ echo $mensagem; }?></p>
</div>


<ul>
     <?php if(isset($erro) == TRUE ){
            if(isset($upload)){?>
                <h3>Problema Encontrado:</h3>
                <?php   
                    foreach ($upload as $item => $value):?>
                    <li> <?php echo $value;?></li>
                <?php endforeach;
           }}?>
</ul>

        <hr>
        
 <?php include('footer_view.php') ?>